package gui.partb;

import java.io.Serializable;

/**
 * 课程类
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
public class Course implements Serializable {
    /**
     * 属性描述：课程id
     */
    private String courseId;

    /**
     * 属性描述：课程名称
     */
    private String courseName;

    public Course(String courseId, String courseName) {
        this.courseId = courseId;
        this.courseName = courseName;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    @Override
    public String toString() {
        return courseId + " " + courseName;
    }
}
